﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ex2.FormatedTable
{
    class FormatedTable
    {
        static string PrintTable()
        {
            StringBuilder result = new StringBuilder();

            for (int i = 1; i < 26; i++)
            {
                result.Append(string.Format("{0,5}",i));
                result.Append(string.Format(" {0,-6}",i*i));
                double squareOfI = Math.Sqrt(i);
                result.Append(string.Format("{0:0000000000.0000}", squareOfI));
                double logOfI = Math.Log(i);
                result.Append(string.Format(" {0}", logOfI));
             
                result.Append("\n");
            }

            return result.ToString();
        }

        static void Main(string[] args)
        {
            string result = PrintTable();
            Console.WriteLine(result);
        }
    }
}
